← Back to issue list

build-package "on amd64 to armhf" seems to be not working

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1795430
Type
issue
State
open
Author
~mvo
Labels
Created
2018-10-01 15:03:46.168426+00:00
Updated
2018-10-01 15:28:11.741753+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

It looks like build-package for cross-building does not fully work when using "build-on" and "run-on". When I specify: " on amd64 to armhf" in snapcraft.yaml snapcraft does not try to install the build package in question. Here is a slightly simplified example (full code in https://github.com/snapcore/pi-gadget): ``` name: pi version: 18-0.1 summary: something description: else type: gadget architectures: - build-on: amd64 run-on: armhf parts: uboot-pi2: plugin: nil override-build: | echo "do stuff" build-packages: - on amd64 to armhf: - gcc-arm-linux-gnueabihf ``` using this snapcraft.yaml does not trigger an install of gcc-arm-linux-gnueabihf. I need to trigger this via an explicit "snapcraft build --target-arch armhf" which I cannot do in launchpad (AFAIK).

Evaluation history

No evaluation history available.